package com.heyue.ems.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.heyue.common.core.annotation.Excel;
import com.heyue.common.core.web.domain.BaseEntity;

/**
 * 订单（同行单、包括详情）的状态改变时将订单（同行单）快照插入此（快照）对象 order_history
 * 
 * @author WCHU
 * @date 2021-07-26
 */
public class OrderHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private Long tmsOrderId;

    /** 订单明细 */
    @Excel(name = "订单明细")
    private String tmsOrderContent;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderType;

    /** 订单GPS数据 */
    @Excel(name = "订单GPS数据")
    private String gpsContent;

    /** 订单传感器数据 */
    @Excel(name = "订单传感器数据")
    private String sensorContent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTmsOrderId(Long tmsOrderId) 
    {
        this.tmsOrderId = tmsOrderId;
    }

    public Long getTmsOrderId() 
    {
        return tmsOrderId;
    }
    public void setTmsOrderContent(String tmsOrderContent) 
    {
        this.tmsOrderContent = tmsOrderContent;
    }

    public String getTmsOrderContent() 
    {
        return tmsOrderContent;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }
    public void setGpsContent(String gpsContent) 
    {
        this.gpsContent = gpsContent;
    }

    public String getGpsContent() 
    {
        return gpsContent;
    }
    public void setSensorContent(String sensorContent) 
    {
        this.sensorContent = sensorContent;
    }

    public String getSensorContent() 
    {
        return sensorContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tmsOrderId", getTmsOrderId())
            .append("tmsOrderContent", getTmsOrderContent())
            .append("updateTime", getUpdateTime())
            .append("orderType", getOrderType())
            .append("gpsContent", getGpsContent())
            .append("sensorContent", getSensorContent())
            .toString();
    }
}
